Problem Note 37681: A "LIBNAME not found" error occurs when you add an export definition that references a library that is defined in the mausrexp macro
SAS® Customer Intelligence has a user-customizable macro file mausrexp.sas in which libraries can be defined for use in export definitions. If a library that is defined in this macro file uses the SAS/ACCESS® Interface to Oracle engine, then the library's definition must be in all uppercase characters. If the definition is not in all uppercase characters, then an error might occur:
LIBNAME not found
The error occurs when the library is referenced in an export definition in the SAS® Management Console SAS® Customer Intelligence export definition Plug-in.
This problem occurs because there is a typo in the mausrexp.sas macro file. In the line that defines the acceptable characters, the lowercase "o" is missing. There is a "u" where the "o" should be. Therefore, any library name that contains a lowercase "o" is considered invalid.
There are two ways to work around this problem.
- Edit the following line in the mausrexp.sas macro file. Change the line from this:
%let first=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnupqrstuvwxyz_;
to this:
%let first=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_;
- make sure that the library name is in all uppercase characters.
The mausrexp.sas macro file can be found here:
- For Windows systems: {SAS_BASE}\SASFoundation\9.2\ma\sasmacro
- For UNIX systems: {SAS_BASE}/SASFoundation/9.2/sasautos
Operating System and Release Information
SAS System | SAS Customer Intelligence Plug-ins for SAS Management Console | Microsoft® Windows® for x64 | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2008 | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
HP-UX IPF | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
64-bit Enabled Solaris | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
64-bit Enabled AIX | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows Vista | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Linux for x64 | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
Solaris for x64 | 5.3 | 5.3_M3 | 9.2 TS2M2 | 9.2 TS2M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
A library that is defined in the mausrexp.sas macro might need to be in all uppercase characters. A "LIBNAME not found" error might occur when the library is referenced in an export definition in the SAS Management Console SAS Customer Intelligence export definition Plug-in.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-07-29 11:10:04 |
Date Created: | 2009-11-02 10:32:38 |